<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Os1: g2o::ParameterContainer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Os1
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">OrbSlam2 documentado y modificado</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,'Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classg2o_1_1_parameter_container.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classg2o_1_1_parameter_container-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">g2o::ParameterContainer Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>map id to parameters  
 <a href="classg2o_1_1_parameter_container.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="parameter__container_8h_source.html">parameter_container.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for g2o::ParameterContainer:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classg2o_1_1_parameter_container__inherit__graph.svg" width="195" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for g2o::ParameterContainer:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classg2o_1_1_parameter_container__coll__graph.svg" width="195" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a200fdfdce01f7fb5f96e02a8ddf666ac"><td class="memItemLeft" align="right" valign="top">typedef std::map&lt; int, <a class="el" href="classg2o_1_1_parameter.html">Parameter</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_parameter_container.html#a200fdfdce01f7fb5f96e02a8ddf666ac">BaseClass</a></td></tr>
<tr class="separator:a200fdfdce01f7fb5f96e02a8ddf666ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9c0b1376e780b177f2d36c4ee4f873d7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_parameter_container.html#a9c0b1376e780b177f2d36c4ee4f873d7">addParameter</a> (<a class="el" href="classg2o_1_1_parameter.html">Parameter</a> *p)</td></tr>
<tr class="memdesc:a9c0b1376e780b177f2d36c4ee4f873d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">add parameter to the container  <a href="#a9c0b1376e780b177f2d36c4ee4f873d7">More...</a><br /></td></tr>
<tr class="separator:a9c0b1376e780b177f2d36c4ee4f873d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff4d3792e2ebd022ebd4a1534b88b773"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_parameter_container.html#aff4d3792e2ebd022ebd4a1534b88b773">clear</a> ()</td></tr>
<tr class="separator:aff4d3792e2ebd022ebd4a1534b88b773"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e57cf684d92f0ceeba8b4923fa41864"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classg2o_1_1_parameter.html">Parameter</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_parameter_container.html#a6e57cf684d92f0ceeba8b4923fa41864">detachParameter</a> (int id)</td></tr>
<tr class="memdesc:a6e57cf684d92f0ceeba8b4923fa41864"><td class="mdescLeft">&#160;</td><td class="mdescRight">remove a parameter from the container, i.e., the user now owns the pointer  <a href="#a6e57cf684d92f0ceeba8b4923fa41864">More...</a><br /></td></tr>
<tr class="separator:a6e57cf684d92f0ceeba8b4923fa41864"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad55d9e6d2adaa4680f74be98e2ae3784"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classg2o_1_1_parameter.html">Parameter</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_parameter_container.html#ad55d9e6d2adaa4680f74be98e2ae3784">getParameter</a> (int id)</td></tr>
<tr class="memdesc:ad55d9e6d2adaa4680f74be98e2ae3784"><td class="mdescLeft">&#160;</td><td class="mdescRight">return a parameter based on its ID  <a href="#ad55d9e6d2adaa4680f74be98e2ae3784">More...</a><br /></td></tr>
<tr class="separator:ad55d9e6d2adaa4680f74be98e2ae3784"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a201d0b120e7b8d54c99d73c8f4d04846"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_parameter_container.html#a201d0b120e7b8d54c99d73c8f4d04846">isMainStorage</a> () const</td></tr>
<tr class="separator:a201d0b120e7b8d54c99d73c8f4d04846"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6047d0206008b5cbb366be0fe03246b4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_parameter_container.html#a6047d0206008b5cbb366be0fe03246b4">ParameterContainer</a> (bool isMainStorage_=true)</td></tr>
<tr class="memdesc:a6047d0206008b5cbb366be0fe03246b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">create a container for the parameters.  <a href="#a6047d0206008b5cbb366be0fe03246b4">More...</a><br /></td></tr>
<tr class="separator:a6047d0206008b5cbb366be0fe03246b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5883ac8e2313cab310cf067b0ba12bf"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_parameter_container.html#ae5883ac8e2313cab310cf067b0ba12bf">read</a> (std::istream &amp;is, const std::map&lt; std::string, std::string &gt; *renamedMap=0)</td></tr>
<tr class="memdesc:ae5883ac8e2313cab310cf067b0ba12bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">read parameters from a stream  <a href="#ae5883ac8e2313cab310cf067b0ba12bf">More...</a><br /></td></tr>
<tr class="separator:ae5883ac8e2313cab310cf067b0ba12bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15c92fab12ad8f3bd51b3f555e95b00e"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_parameter_container.html#a15c92fab12ad8f3bd51b3f555e95b00e">write</a> (std::ostream &amp;os) const</td></tr>
<tr class="memdesc:a15c92fab12ad8f3bd51b3f555e95b00e"><td class="mdescLeft">&#160;</td><td class="mdescRight">write the data to a stream  <a href="#a15c92fab12ad8f3bd51b3f555e95b00e">More...</a><br /></td></tr>
<tr class="separator:a15c92fab12ad8f3bd51b3f555e95b00e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a186660e1ef0350798a549b247365b295"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_parameter_container.html#a186660e1ef0350798a549b247365b295">~ParameterContainer</a> ()</td></tr>
<tr class="separator:a186660e1ef0350798a549b247365b295"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a2ff1e92bc6a486d48043e2191807bd47"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_parameter_container.html#a2ff1e92bc6a486d48043e2191807bd47">_isMainStorage</a></td></tr>
<tr class="separator:a2ff1e92bc6a486d48043e2191807bd47"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>map id to parameters </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a200fdfdce01f7fb5f96e02a8ddf666ac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::map&lt;int, <a class="el" href="classg2o_1_1_parameter.html">Parameter</a>*&gt; <a class="el" href="classg2o_1_1_parameter_container.html#a200fdfdce01f7fb5f96e02a8ddf666ac">g2o::ParameterContainer::BaseClass</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a6047d0206008b5cbb366be0fe03246b4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">g2o::ParameterContainer::ParameterContainer </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>isMainStorage_</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>create a container for the parameters. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">isMainStorage_</td><td>pointers to the parameters are owned by this container, i.e., freed in its constructor </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a186660e1ef0350798a549b247365b295"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">g2o::ParameterContainer::~ParameterContainer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a9c0b1376e780b177f2d36c4ee4f873d7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool g2o::ParameterContainer::addParameter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classg2o_1_1_parameter.html">Parameter</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>add parameter to the container </p>

</div>
</div>
<a id="aff4d3792e2ebd022ebd4a1534b88b773"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void g2o::ParameterContainer::clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a6e57cf684d92f0ceeba8b4923fa41864"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classg2o_1_1_parameter.html">Parameter</a> * g2o::ParameterContainer::detachParameter </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>remove a parameter from the container, i.e., the user now owns the pointer </p>

</div>
</div>
<a id="ad55d9e6d2adaa4680f74be98e2ae3784"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classg2o_1_1_parameter.html">Parameter</a> * g2o::ParameterContainer::getParameter </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>return a parameter based on its ID </p>

</div>
</div>
<a id="a201d0b120e7b8d54c99d73c8f4d04846"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool g2o::ParameterContainer::isMainStorage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ae5883ac8e2313cab310cf067b0ba12bf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool g2o::ParameterContainer::read </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&#160;</td>
          <td class="paramname"><em>is</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::map&lt; std::string, std::string &gt; *&#160;</td>
          <td class="paramname"><em>renamedMap</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>read parameters from a stream </p>

</div>
</div>
<a id="a15c92fab12ad8f3bd51b3f555e95b00e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool g2o::ParameterContainer::write </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>write the data to a stream </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a2ff1e92bc6a486d48043e2191807bd47"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool g2o::ParameterContainer::_isMainStorage</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/alejandro/Desarrollo eclipse/os1/Thirdparty/g2o/g2o/core/<a class="el" href="parameter__container_8h_source.html">parameter_container.h</a></li>
<li>/home/alejandro/Desarrollo eclipse/os1/Thirdparty/g2o/g2o/core/<a class="el" href="parameter__container_8cpp.html">parameter_container.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespaceg2o.html">g2o</a></li><li class="navelem"><a class="el" href="classg2o_1_1_parameter_container.html">ParameterContainer</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.12 </li>
  </ul>
</div>
</body>
</html>
